package com.sc.design.mediator;

public class Purchase extends AbstractColleague{
    public Purchase(AbstractMediator _mediator) {
        super(_mediator);
    }

    public void buyComputer(int count){
        super.mediator.execute("purchase.buy",count);
    }
    public void refuseBuy(){
        System.out.println("不再购买");
    }
}
